<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>IupGetAttributeHandle</title>

<link rel="stylesheet" type="text/css" href="../../style.css">
<style type="text/css">
.style1 {
	text-decoration: underline;
}
</style>
</head>
<body>

<h2>IupGetAttributeHandle</h2>
<p>Instead of using IupGetAttribute and IupGetHandle, this function directly returns the associated handle.</p>
<h3>
Parameters/Return</h3>
<pre>Ihandle* IupGetAttributeHandle(Ihandle *<strong>ih</strong>, const char *<strong>name</strong>); [in C]
Ihandle* IupGetAttributeHandleId(Ihandle *<strong>ih</strong>, const char *<strong>name</strong>, int <strong>id</strong>); [in C]
Ihandle* IupGetAttributeHandleId2(Ihandle *<strong>ih</strong>, const char *<strong>name</strong>, int <strong>lin</strong>, int <strong>col</strong>); [in C]
iup.GetAttributeHandleHandle(<strong>name</strong>: string) -&gt; <strong>ih</strong>: ihandle [in Lua] (since 3.25)</pre>
<p><strong>ih</strong>: identifier of the interface element.<br>
  <strong>name</strong>: name of the attribute.<br>
<strong>id, lin, col</strong>: used when the attribute has additional ids. 
(since 3.21)</p>
<p><span class="style1">Returns:</span> the element with the associated name. The function will not check for 
inheritance since all the attributes that associate handles are not inheritable.</p>
<h3>See Also</h3>
<p><a href="iupsetattributehandle.html">IupSetAttributeHandle</a>,
  <a href="iupsetattribute.html">IupSetAttribute</a>, 
<a href="iupsetattributes.html">IupSetAttributes</a>, 
<a href="iupsethandle.html">IupSetHandle</a></p>

</body>

</html>